//
//  MainNavigationViewController.m
//  GuoMei
//
//  Created by 王磊 on 2018/2/27.
//  Copyright © 2018年 王磊. All rights reserved.
//

#import "MainNavigationViewController.h"
#define kNavgationBarColor [UIColor colorWithRed:213/255.0 green:40/255.0 blue:43/255.0 alpha:1]
@interface MainNavigationViewController ()<UIGestureRecognizerDelegate>

@end

@implementation MainNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //设置导航控制器的左边拖动返回效果
    self.interactivePopGestureRecognizer.delegate = self;
    
    //导航条的属性设置
//    self.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName: [UIColor whiteColor]};
//    self.navigationBar.tintColor = [UIColor whiteColor]; //控件颜色
//    
//    [self.navigationBar setBackgroundImage:[UIImage imageNamed:@"top_navigation_background"] forBarMetrics:UIBarMetricsDefault];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
